<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./注册.css">
</head>

<body>
    <script src="https://code.jquery.com/jquery-3.7.1.js"></script>
    <div class="box">
        <h2>注册</h2>
        <div class="input-box">
            <label>账号</label>
            <input type="text" class="user_name" placeholder="请输入昵称"><span
                style="color: red;display: none;">包含字母数字下划线</span>
        </div>

        <div class="input-box">
            <label>密码</label>
            <input type="password" class="password" placeholder="至少6个字符"><span
                style="color: red;display: none;">至少6个字符</span>
        </div>

        <div class="input-box">
            <label>邮箱</label>
            <input type="email" class="eml" placeholder="请输入正确的邮箱格式"><span style="color: red;display: none;">请输入正确的邮箱格式</span>
        </div>

        <div class="btn-box">
            <div>
                <button onclick="fn()">注册</button>
            </div>
        </div>
    </div>
    <video class="bg-video" autoplay loop muted>
        <source src="https://files.codelife.cc/itab/defaultWallpaper/videos/47.mp4" video/mp4">
    </video>
    <script src="./注册.js"></script>
</body>

</html>